]> dgit.raspbian.org Git - gnome-shell.git/commit
padOsd: Ensure to pick pad devices only
authorCarlos Garnacho <carlosg@gnome.org>
Fri, 19 Jan 2018 09:45:50 +0000 (10:45 +0100)
committerCarlos Garnacho <carlosg@gnome.org>
Tue, 30 Jan 2018 15:19:42 +0000 (16:19 +0100)
commit9ad7f59cdbf513cf916131483ec66b736d6785da
tree0e8991565b5527c6a0bb631c73d8ec69a6a04f15
parent6e74f987ec8d63bd1b85b41825aef94f8338558c
padOsd: Ensure to pick pad devices only

If the underlying X11 input driver creates multiple devices from a single
device node, we may end up picking up the wrong device. So, instead of
picking the first device based on node and bailing out if it's not a pad,
pick the first pad that has that device node, and bail out if there is
none.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/10

Closes: #10
js/ui/padOsd.js